package per.joker;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author joker
 * @date 2022/5/12 0012 - 21:51
 */
public class Test03 {
//    static ApplicationContext ioc = new ClassPathXmlApplicationContext("ioc.xml");
    public Test03 test03;
    public static void main(String[] args) {
        ApplicationContext ioc = new ClassPathXmlApplicationContext("ioc.xml");
        Person p4 = ioc.getBean("p4", Person.class);
        System.out.println(p4);

    }
}
